﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;

using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

using Cn.Edwon.Web.Support;
using Cn.Cellula.Client;
using System.Reflection;

namespace Cn.Cellula.Website.Biz {
    public partial class Login : PageSupport {
        public String Referrer = "";
        protected void Page_Load(object sender, EventArgs e) {
           if (Request.QueryString["act"] == "logout") {//退出
                base.Actor = null;
                ClientBiz.Cookie.AbateCookie(Request, Response);
           } else if (Request.QueryString["act"] == "timeout") {
               if (Request.UrlReferrer != null)
                   base.LoginRefUrl = Request.UrlReferrer.ToString();
               else
                   base.LoginRefUrl = ClientBiz.AdminDefaultUrl;
           } else { 
           }
           Referrer = base.LoginRefUrl;
        }
    }
}
